package cn.yqx.bankshop.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.reactive.config.EnableWebFlux;

//发现服务，发现注册中心的服务
@SpringBootApplication
@EnableDiscoveryClient
@EnableWebFlux
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class , args ) ;
    }
}
